package com.itheima;

import com.itheima.mapper.ApUserMapper;
import com.itheima.pojo.ApUser;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

import java.util.List;

@SpringBootTest
public class Text001 {

    @Autowired
    private ApUserMapper apUserMapper;

    @Test
    void testGetAll() {
        List<ApUser> userList = apUserMapper.selectList(null);
        for (ApUser apUser : userList) {
            System.out.println(apUser);
        }
    }
}
